package com.mtsmda.chapter3.overridingEx;

public class ReferenceWidening {
	
	public static void main(String[] args) {
		
		Integer integer = 15;
		Long long1 = 19L;
		new ReferenceWidening().go(integer);
		new ReferenceWidening().go(long1);
		
	}
	
	void go(Integer integer){
		System.out.println("Integer");
	}
	
	void go(Long l){
		System.out.println("Long");
	}
	
}